Deprecate the nics option from the xm create configuration. Instead, we use the
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 13 Dec 2005 00:15:53 +0000 (00:15 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 13 Dec 2005 00:15:53 +0000 (00:15 +0000)
commitbc8ed50e6c00293264a8f3a312edc69767efe46d
tree56352379ced7db65a7700a09b02f6b4419cdef73
parent296749cb10305ccb132b4cc5d5bdee9038362e83
Deprecate the nics option from the xm create configuration.  Instead, we use the
entries in vif to guide the configuration.  This is much less confusing.

Closes bug #440.

Change the example configuration files to match.  Also change them to use the
XenSource OUI in the MAC addresses.  Also change xm-test to match.

Remove the obsolete ipaddr configuration entry, and the backend_mac vif config
option.

Remove the preprocess_vifs function, folding it into the configure_vifs
function, and creating a simple comma_sep_kv_to_dict helper.

Remove the configure_vfr method, as it is unused.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
14 files changed:
docs/src/user.tex
tools/examples/xmexample.nbd
tools/examples/xmexample.vmx
tools/examples/xmexample.vti
tools/examples/xmexample1
tools/examples/xmexample2
tools/examples/xmexample3
tools/python/xen/xm/create.py
tools/xm-test/lib/XmTestLib/XenDomain.py
tools/xm-test/tests/create/13_create_multinic_pos.py
tools/xm-test/tests/network/02_network_local_ping_pos.py
tools/xm-test/tests/network/05_network_dom0_ping_pos.py
tools/xm-test/tests/network/11_network_domU_ping_pos.py
tools/xm-test/tests/restore/04_restore_withdevices_pos.py